<!DOCTYPE html>
<html lang="en">
<head>
	<meta charset="UTF-8">
	<title>导航条01</title>
	<style type="text/css">
		.navigation{
			width: 958px;
			height: 40px;
			margin: 50px auto 0;
			border: 1px solid #000;
			padding: 0;
			list-style: none;
			text-align: center;
			line-height: 40px; 
			font-size: 0;
		}

		.navigation li{
			display: inline-block;
			font-size: 14px;
		}

		.navigation .line{
			color: #333;
			margin: 0 20px;
		}

		.navigation li a{
			font-family: 'Microsoft Yahei';
			color: #333; 
			text-decoration: none;	  
		}
		
		.navigation a:hover{
			background-color: red;
		}

	</style>
</head>
<body>
	<ul class="navigation">
		<li><a href="">首页</a></li>
		<li class="line">|</li>
		<li><a href="">网站建设</a></li>
		<li class="line">|</li>
		<li><a href="">程序开发</a></li>
		<li class="line">|</li>
		<li><a href="">网络营销</a></li>
		<li class="line">|</li>
		<li><a href="">企业VI</a></li>
		<li class="line">|</li>
		<li><a href="">案例展示</a></li>
		<li class="line">|</li>
		<li><a href="">联系我们</a></li>
	</ul>
</body>
</html>